package action.plan;

import java.util.List;

import presentation.extendmodel.TdfkfaMainEx;
import presentation.queryvo.PlanListQueryVO;
import service.PlanService;

import com.opensymphony.xwork2.Action;
import com.opensymphony.xwork2.ActionSupport;

public class ListPlanAction extends ActionSupport {

    private static final long serialVersionUID = 1L;

    private PlanService planService;

    private List<TdfkfaMainEx> planList;

    private String scztCode;

    private String pageIndex;

    private String pageSize;

    public String execute() throws Exception {

        PlanListQueryVO queryVO = new PlanListQueryVO();
        planList = planService.getPlanList(queryVO);

        return Action.SUCCESS;
    }

    public void setPlanService(PlanService planService) {
        this.planService = planService;
    }

    public List<TdfkfaMainEx> getPlanList() {
        return planList;
    }

    public void setPlanList(List<TdfkfaMainEx> planList) {
        this.planList = planList;
    }

    public String getScztCode() {
        return scztCode;
    }

    public void setScztCode(String scztCode) {
        this.scztCode = scztCode;
    }

    public String getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(String pageIndex) {
        this.pageIndex = pageIndex;
    }

    public String getPageSize() {
        return pageSize;
    }

    public void setPageSize(String pageSize) {
        this.pageSize = pageSize;
    }

}
